<%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean" %> 
<%@ taglib uri="http://struts.apache.org/tags-html" prefix="html" %>
<%@ taglib uri="http://struts.apache.org/tags-logic" prefix="logic" %>

<html:form action="/alterarDocumento" lang="true" enctype="multipart/form-data"  >
    <body>
        <bean:message key="form.alterarArquivo" /> <b>(<bean:write name="DocumentoForm" property="nomeDocumento" />)</b><br /> 
        <html:file property="file" /> <br /><br />
        
        <bean:message key="form.descricao" /><br />
        <html:text property="descricao" /> <br /><br />

        <bean:message key="form.usuario" /><br />
        <html:select property="usuarioSelecionado">
            <html:option value="1"><bean:message key="form.selecione" /></html:option>
            <html:optionsCollection name="DocumentoForm" property="listaUsuarios" label="nome" value="codigo" />
        </html:select> <br /><br />

        <html:hidden name="DocumentoForm" property="codigoDocumento" />
        <html:hidden name="DocumentoForm" property="method" />

        <html:submit><bean:message key="form.alterar" /></html:submit><br /><br />
        <html:link page="/index.jsp"><bean:message key="form.voltar" /></html:link>
    </body>
</html:form>